import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex);

import other from './other/store'
import index from './index/store'

let store = {
    modules: {
        other: {
            namespaced: true,
            modules: {
                other: other
            }
        },
        index: {
            namespaced: true,
            modules: {
                index: index
            }
        },
    }
}

export default new Vuex.Store(store);